package com.qf.framwork.cases;

import org.apache.commons.fileupload.FileItem;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.Method;
import java.util.Map;

/**
 * 架构层 - Servlet中方法参数的转换器接口
 *
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
public interface ParamsCases {

    /**
     * 返回实际的参数
     * @return
     */
    Object getParams(Method m, String name, Map<String, FileItem> itemMap, HttpServletRequest request, HttpServletResponse response);
}
